import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        navdata: [
            {
                id: "",
                name: "推荐"
            },
            {
                id: "5562b419e4b00c57d9b94ae2",
                name: "后端"
            },
            {
                id: "5562b415e4b00c57d9b94ac8",
                name: "前端"
            },
            {
                id: "5562b410e4b00c57d9b94a92",
                name: "Android"
            },
            {
                id: "5562b405e4b00c57d9b94a41",
                name: "iOS"
            },
            {
                id: "57be7c18128fe1005fa902de",
                name: "人工智能"
            },
            {
                id: "5562b422e4b00c57d9b94b53",
                name: "开发工具"
            },
            {
                id: "5c9c7cca1b117f3c60fee548",
                name: "代码人生"
            },
            {
                id: "5562b428e4b00c57d9b94b9d",
                name: "阅读"
            }
        ]
    },
})